﻿<Page
    x:Class="AppStateDemo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppStateDemo"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <ListBox Grid.Column="0" VerticalAlignment="Stretch" Width="200"
                 FontSize="28"
                 SelectionChanged="ListBox_SelectionChanged"
                 SelectionMode="Single">
            <ListBoxItem>Page1</ListBoxItem>
            <ListBoxItem>Page2</ListBoxItem>
            <ListBoxItem>Page3</ListBoxItem>
        </ListBox>
        <Frame x:Name="myFrame" Grid.Column="1" />
    </Grid>
</Page>
